﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neitzel.ActiveDirectory;

namespace Neitzel.Tests
{
    /// <summary>
    /// Tests the ActiveDirectory classes.
    /// </summary>
    [TestClass]
    public class ActiveDirectoryTests
    {
        /// <summary>
        /// Tests the <see cref="ADUser"/> class
        /// </summary>
        [TestMethod]
        public void TestADUser()
        {
            var users = ADUser.GetUsers("LDAP://neitzel.local/DC=neitzel,DC=local");
            Assert.IsNotNull(users);
        }
    }
}
